#app,
body,
html {
  height: 100%;
}

body {
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei,
    '\5FAE\8F6F\96C5\9ED1', Arial, sans-serif;
  line-height: 1.5;
  color: #515a6e;
  font-size: 14px;
  background-color: #f7f7f7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

//重置样式
.anticon {
  svg {
    vertical-align: initial;
  }
}

a {
  color: #307AFA;
  background: transparent;
  text-decoration: none;
  outline: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

a:active,
a:hover {
  outline: 0;
  outline-width: 0;
  text-decoration: none;
}

a:hover {
  color: #57a3f3;
}

a:active {
  color: #2b85e4;
}

/* 滚动条凹槽的颜色，还可以设置边框属性 */
*::-webkit-scrollbar-track-piece {
  background-color: #f8f8f8;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}

/* 滚动条的宽度 */
*::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

/* 滚动条的设置 */
*::-webkit-scrollbar-thumb {
  background-color: #ddd;
  background-clip: padding-box;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}

/* 滚动条鼠标移上去 */
*::-webkit-scrollbar-thumb:hover {
  background-color: #bbb;
}

/* router view transition */
.zoom-fade-enter-active,
.zoom-fade-leave-active {
  transition: transform 0.35s, opacity 0.28s ease-in-out;
}

.zoom-fade-enter-from {
  opacity: 0;
  transform: scale(0.97);
}

.zoom-fade-leave-to {
  opacity: 0;
  transform: scale(1.03);
}

//antd 卡片样式定制
body .n-card {
  transition: all 0.2s ease-in-out;
}

body .n-icon {
  vertical-align: middle;
}

body .proCard {
  border-radius: 4px;
  min-height: calc(100vh - 130px);

  &.proCard-m {
    min-height: auto;
  }

  .n-card__content {
    padding: 16px 20px;

    // &:first-child {
    //   padding-top: 16px;
    // }
  }
}

body .n-modal {
  border-radius: 6px;
}

//body .proCardTabs{
//  .n-card__content{ padding-top: 3px}
//  .n-card__content:first-child{ padding-top: 3px}
//}

.n-layout-page-header {
  margin: 0 -10px;
}

.s-table {
  .n-data-table-base-table-header {
    .n-ellipsis.n-ellipsis--line-clamp {
      -webkit-line-clamp: unset !important;
    }
  }
}

.sub-title {
  font-size: 14px;
  line-height: 2;
  padding-bottom: 0.5em;
  margin-bottom: 1em;
  border-bottom: 1px solid #eee;
}

.n-checkbox--checked {
  .n-checkbox__label {
    color: @primaryColor;
  }
}

.df-table-button {
  color: @tableButtonColor;
  cursor: pointer;
  word-break: keep-all;
  transition: 0.3s color;

  &:hover {
    color: @tableButtonHoverColor;
    transition: 0.3s color;
  }

  &:active {
    color: @tableButtonActiveColor;
    transition: 0.3s color;
  }

  &.disabled {
    color: @tableButtonDisabledColor;
    cursor: no-drop;
    pointer-events: none;
    transition: 0.3s color;
  }
}

.basicInfo {
  height: 100%;
  width: 100%;
  flex-direction: column;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background: #fff;

  .basicInfo-body-wrapper {
    // min-width: 800px;
    flex: 1;
    border-radius: 2px;
    padding: 16px 0 24px;
    box-sizing: border-box;
    background-color: white;

    &:first-child {
      padding-top: 0;
    }
  }

  .basicInfo-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;

    /* padding: 16px 24px; */
    box-sizing: border-box;

    h3 {
      // font-family: Source Han Sans CN, Source Han Sans CN-Medium;
      font-size: 16px;
      font-weight: 600;
      padding: 0;
      line-height: 24px;
      position: relative;
      color: @titleColor;

      // &::after {
      //   content: "";
      //   position: absolute;
      //   width: 4px;
      //   height: 17px;
      //   background: #307AFA;
      //   top: 4px;
      //   left: 0;
      // }
    }

    &.basicInfo-fr {
      justify-content: flex-end;
    }
  }

  .basicInfo-main {
    // min-width: auto ;
    max-width: 1503px;
    display: block;
  }
}

.basicInfo-item {
  // flex-grow: 1;
  // flex: 1;
  // display:inline-block;
  // min-width: 33.33%;
  width: 33.33% !important;
  float: left;
}

// .basicInfo-item-remark{
//   //  width: 64%;
// }

.basicInfo-block {
  // flex-grow: 3;
  width: 100% !important;
  display: block;
  float: left;
  // max-width: calc(100% - (100% / 3 - 140px - 320px));

  // ::v-deep .el-form-item--mini .el-form-item__content {
  //   min-width: 320px;
  //   max-width: 100%;
  // }
}
@media screen and (max-width: 1705px) {
  .basicInfo-item {
    width: 50%;
  }

  .basicInfo-block {
    width: 100%;
    display: block;
    // max-width: calc(100% - (100% / 2 - 140px - 320px));
  }
}
@media screen and (max-width: 1245px) {
  .basicInfo-item {
    width: 100%;
  }

  .basicInfo-block {
    width: 100%;
  }
}

.basicInfo-bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;

  div{
    display: flex;
  }

  .total {
    margin-right: 10px;
  }

  .n-button {
    margin-left: 12px;
    width: auto;
  }
}

.basicInfo-pagination {
  align-items: center;
}

.download-font {
  color: #307AFA;
  text-decoration: underline;

  &:hover,
  &:active,
  &:focus {
    color: #307AFA;
    text-decoration: underline;
  }
}

.form-item__error {
  color: #f5222d;
}

.n-upload-file-info {
  .n-button {
    min-width: auto;
    padding: 0 3px;
  }
}

.drawerTemplate-style{
  .n-drawer-body-content-wrapper{
    padding: 0 !important;
  }
}
